
#define LOG_INIT(_filename, _buf_size) log_init(_filename, _buf_size)
#define LOG_PRINT(level, ...) log_print(level, __FILE__, __LINE__, __VA_ARGS__)
#define SET_LOG_LEVEL(_level) set_log_level(_level)
#define LOG_FINALIZE() log_finalize()
enum LOG_LEVEL {
	INFO = 0,
	WARNING,
	ERROR,
	MAX_LOG_LEVEL
};
